package crs.mensajeria.tablebean.response;

import com.fasterxml.jackson.annotation.JsonProperty;

import crs.mensajeria.tablebean.JsonJTableMensajeriaBean;

/**
 *
 * @author sanathko
 */

public class JsonJTableMensajeriaResponse {
    
    private String Result;
    
    private JsonJTableMensajeriaBean Records;
    
    private String Message;
    
    public JsonJTableMensajeriaResponse(){}

    public JsonJTableMensajeriaResponse(String Result) {
        this.Result = Result;
    }

    public JsonJTableMensajeriaResponse(String Result, JsonJTableMensajeriaBean Records) {
        this.Result = Result;
        this.Records = Records;
    }

    public JsonJTableMensajeriaResponse(String Result, String Message) {
        this.Result = Result;
        this.Message = Message;
    }

    @JsonProperty("Result")
    public String getResult() {
        return Result;
    }

    public void setResult(String Result) {
        this.Result = Result;
    }

    @JsonProperty("Record")
    public JsonJTableMensajeriaBean getRecords() {
        return Records;
    }

    public void setRecords(JsonJTableMensajeriaBean Records) {
        this.Records = Records;
    }   

    @JsonProperty("Message")
    public String getMessage() {
        return Message;
    }

    public void setMessage(String Message) {
        this.Message = Message;
    }

}
